<div class="container marginTop">
	<div class="row">
		<div class="col-xs-12">
		
			<table class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						<th width="40">ID</th>
						<th>Colaborador</th>
						<th>Ramal</th>
						<th>Setor</th>
						<th width="40"></th>
						<th width="40"></th>
						
        				</tr>
				</thead>
				
				<tbody>
					<?php foreach($tpl["dados"]["posts"] as $col) { ?>
									
					<tr>
						<td><?=$col["idcolaborador"]?></td>
						<td><?=$col["nomecolaborador"]?></td>
						<td><?=$col["ramalcolaborador"]?></td>
						<td><?=$col["nomesetor"]?></td>
						<td>
							<a href="index.php?m=admin&c=alterarColaborador&id=<?=$col["idcolaborador"]?>" class="btn btn-primary">Alterar</a>
						</td>
						<td>
							<a href="index.php?m=admin&c=excluirPost&id=<?=$col["idcolaborador"]?>>" class="btn btn-danger" onclick="return confirm('Deseja realmente excluir o registro?')">Excluir</a>
						</td>
					</tr>
					<?php } ?>
				</tbody>
				
			</table>
		
		</div>
	</div>
</div>